.class Lcom/instagram/android/s/b/f;
.super Landroid/os/Handler;
.source "SurveyToolHelper.java"


# instance fields
.field final synthetic a:Lcom/instagram/android/s/b/a;


# direct methods
.method private constructor <init>(Lcom/instagram/android/s/b/a;)V
    .locals 0
    .parameter

    .prologue
    .line 267
    iput-object p1, p0, Lcom/instagram/android/s/b/f;->a:Lcom/instagram/android/s/b/a;

    invoke-direct {p0}, Landroid/os/Handler;-><init>()V

    return-void
.end method

.method synthetic constructor <init>(Lcom/instagram/android/s/b/a;Lcom/instagram/android/s/b/b;)V
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 267
    invoke-direct {p0, p1}, Lcom/instagram/android/s/b/f;-><init>(Lcom/instagram/android/s/b/a;)V

    return-void
.end method


# virtual methods
.method public handleMessage(Landroid/os/Message;)V
    .locals 2
    .parameter "msg"

    .prologue
    .line 271
    iget v0, p1, Landroid/os/Message;->what:I

    packed-switch v0, :pswitch_data_0

    .line 290
    :cond_0
    :goto_0
    return-void

    .line 273
    :pswitch_0
    iget-object v0, p0, Lcom/instagram/android/s/b/f;->a:Lcom/instagram/android/s/b/a;

    invoke-static {v0}, Lcom/instagram/android/s/b/a;->f(Lcom/instagram/android/s/b/a;)Landroid/app/Dialog;

    move-result-object v0

    if-eqz v0, :cond_0

    .line 274
    iget-object v0, p0, Lcom/instagram/android/s/b/f;->a:Lcom/instagram/android/s/b/a;

    invoke-static {v0}, Lcom/instagram/android/s/b/a;->f(Lcom/instagram/android/s/b/a;)Landroid/app/Dialog;

    move-result-object v0

    invoke-virtual {v0}, Landroid/app/Dialog;->dismiss()V

    goto :goto_0

    .line 279
    :pswitch_1
    iget-object v0, p0, Lcom/instagram/android/s/b/f;->a:Lcom/instagram/android/s/b/a;

    invoke-static {v0}, Lcom/instagram/android/s/b/a;->c(Lcom/instagram/android/s/b/a;)Landroid/app/Activity;

    move-result-object v0

    invoke-virtual {v0}, Landroid/app/Activity;->hasWindowFocus()Z

    move-result v0

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/instagram/android/s/b/f;->a:Lcom/instagram/android/s/b/a;

    invoke-static {v0}, Lcom/instagram/android/s/b/a;->g(Lcom/instagram/android/s/b/a;)Z

    move-result v0

    if-eqz v0, :cond_1

    .line 280
    iget-object v0, p0, Lcom/instagram/android/s/b/f;->a:Lcom/instagram/android/s/b/a;

    iget-object v1, p0, Lcom/instagram/android/s/b/f;->a:Lcom/instagram/android/s/b/a;

    invoke-static {v1}, Lcom/instagram/android/s/b/a;->h(Lcom/instagram/android/s/b/a;)Lcom/instagram/android/s/c/a;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/instagram/android/s/b/a;->a(Lcom/instagram/android/s/c/a;)V

    goto :goto_0

    .line 282
    :cond_1
    iget-object v0, p0, Lcom/instagram/android/s/b/f;->a:Lcom/instagram/android/s/b/a;

    invoke-static {v0}, Lcom/instagram/android/s/b/a;->i(Lcom/instagram/android/s/b/a;)V

    goto :goto_0

    .line 287
    :pswitch_2
    iget-object v0, p0, Lcom/instagram/android/s/b/f;->a:Lcom/instagram/android/s/b/a;

    const/4 v1, 0x1

    invoke-static {v0, v1}, Lcom/instagram/android/s/b/a;->a(Lcom/instagram/android/s/b/a;Z)Z

    goto :goto_0

    .line 271
    nop

    :pswitch_data_0
    .packed-switch 0x0
        :pswitch_0
        :pswitch_1
        :pswitch_2
    .end packed-switch
.end method
